<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>生命之航</title>
        <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
        <meta name="keywords" content="生命之航" />
        <meta name="description" content="" />
        <meta name="applicable-device"content="pc,mobile">
        <link rel="stylesheet" href="__STATIC__/css/style.css?v=11">
   		<link rel="stylesheet" type="text/css" href="__STATIC__/css/iconfont.css"/>
        <link href="__STATIC__/css/index.css" rel="stylesheet" type="text/css" />
        <link href="__STATIC__/css/new_index.css" rel="stylesheet" type="text/css" />
        <link href="__STATIC__/css/mobile.css?v=11" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="__STATIC__/js/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="__STATIC__/js/TouchSlide.1.1.js"></script>
        <script src="__STATIC__/js/mobile-util.js" type="text/javascript" charset="utf-8"></script>
        <script src="__PUBLIC__/js/mobile_common.js"></script>
        <style type="text/css">
        	body{
        		width: auto!important;
        	}
        	.footer ul li{
        		padding: 0;
        	}
        	.bg-body{
        		/*background: url(__STATIC__/images/bg-body.jpg)#588F4C center center no-repeat;*/
        		background: #66CC66;
        		/*background-size: cover;*/
        		/*height: 100vh;*/
        	}
        	.index_search{
        		/*background: #588F4C;*/
        		background: url(__STATIC__/images/bg-body.jpg)#708090 center center no-repeat;
        		background-size: cover;
        	}
        	
        	.index_banner{
        		min-height: 4rem;
        		max-height: 13rem;
        	}
        	
        	.bg-white{
        		background: white;
        	}
        	.top-meun{
        		/*margin-top: 50px;*/
        	}
        	.main{
        		margin-top: 0;
        		margin: 0 .3rem;
        		width: auto!important;
        		background: white;
        		overflow: hidden;
        		border-radius: .2rem .2rem 0 0;
        	}
        	.index_banner .hd{
        		bottom: 5px;
        	}
        	.dh nav{
        		margin: 0;
        	}
        	.guide{
        		display: none!important;
        	}
        	.foohi{
        		height: auto!important;
        	}
        	.product-left img{
        		padding: 10px 0;
        	}
        	.product-list img{
        		width: 100%;
        	}
        	.product-list{
        		margin-top: 0;
        		padding-left: 0;
        		padding-right: 0;
        	}
        	.co-white{
        		color: white;
        		font-size: .5rem!important;
        		top:.3rem!important;        	
        	}
        	.ad-img-logo{
			    text-align: center;
			    padding: 1rem 0;
			    border-top: 1px solid #fff;
			    margin-top: 1rem;
        	}
       		.ad-img-logo img{
       			width: 4rem;
       		}
        
        </style>
    </head>


    <body class="bg-body">

        <div id="fake-search" class="index_search" style="display: none;">
            <!--<div style="display:block;width:15%;height:50px;background: url(__STATIC__/images/wlogo.png) center center no-repeat;background-size:45px;float:left"></div>
            <div style="display:block;width:67%;height:40px;float:left;padding-left: 2%;">
                <div class="index_search_mid">
                    <form name="sourch_form" id="sourch_form2" method="post" action="/mobile/Goods/search.html">
                        <div name="list_search_text_box" onclick="return 1;">
                            <span onclick="if ($.trim($('#search_text').val()) != '')
                                        $('#sourch_form2').submit();" class="iconfont" style="line-height: 30px;text-align: center;color: #666666;">&#xe70d;</span>
                            <input type="text" id="search_text" name="q" class="search_text" placeholder="请输入商品名称" value=""> 
                        </div>
                    </form>  
                </div>
            </div>
            <div style="color:white;display:block;width:15%;height:50px;background-size: 30px;float:left;line-height: 50px;text-align: center;">搜索</div>-->
       
       		 <div style="display:block;width:100%;height:50px;background: url(__STATIC__/images/wlogo.png) center center no-repeat;background-size:60px;float:left"></div>
        </div>
        
        
       
        

        <div class="cl-bo"></div>


        <div id="index_banner" class="index_banner acttop-img">
            <div class="bd">
                <ul>

                    <adv pid ="51317" limit="3" item="v">
                        <li><a href="{$v.ad_link}">
                            <img src="{$v[ad_code]}" title="{$v[title]}" style="{$v[style]}" alt="">
                        </a></li>
                    </adv>
                </ul>
            </div>
            <div class="hd">
                <ul>         
                </ul>
            </div>
        </div>
        <script type="text/javascript">
            TouchSlide({
                slideCell: "#index_banner",
                titCell: ".hd ul", //开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
                mainCell: ".bd ul",
                effect: "leftLoop",
                interTime:5000,
                autoPage: true, //自动分页
                autoPlay: true //自动播放
            });
        </script>
        <div class="cl-bo"></div>
        
        
        <div class="floor dh  top-meun">
        <nav>
            <a href="{:U('mobile/Article/detail',array('article_id'=>1412))}">
                <span>
                    <img src="/template/mobile/new2/static/images/usericon.png" alt="会员权益"><br>
                    <span class="co-white">会员权益</span>
                </span>
            </a>
            <a href="{:U('mobile/Article/detail',array('article_id'=>1413))}">
                <span>
                    <img src="/template/mobile/new2/static/images/vipicon.png" alt="VIP权益"><br>
                    <span class="co-white">VIP权益</span>
                </span>
            </a>
            <a href="{:U('mobile/Article/detail',array('article_id'=>1414))}">
                <span>
                    <img src="/template/mobile/new2/static/images/shopicon.png" alt="店长权益"><br>
                    <span class="co-white">店长权益</span>
                </span>
            </a>
            <a href="{:U('mobile/Article/detail',array('article_id'=>1415))}">
                <span>
                    <img src="/template/mobile/new2/static/images/noticeicon.png" alt="推广说明"><br>
                    <span class="co-white">推广说明</span>
                </span>
            </a>
          
        </nav>
    </div>
    
    <div class="ad-img-logo">
    	<img src="__STATIC__/images/wlogo.png" alt="" />
    </div>
    

        <div class="main" style="margin-top: 10px;">
        	
        	
        	
        	
        <?php if($hot_goods[0]['goods_level']<=$user['level']){ ?>
            <div class="product-list" >
               <!-- <div class="product-left">-->
                    <a href="{:U('Goods/goodsInfo',array('id'=>$hot_goods[0]['goods_id']))}">
                    	
                    	<img src="<?php echo $hot_goods[0]['index_img']?>" />
                    </a>
            </div>
        <?php } ?>


        <?php if($taocan){foreach($taocan as $v){                    
                if(in_array($user['level'],unserialize($v['show_level']))){ 
        ?>
            <div class="product-list">
                    <a href="{:U('Goods/goodsInfo2',array('id'=>$v['goods_id'],'taocan_id'=>$v['id']))}">
                    	
                    	<img src="{$v.index_img}" />
                    </a>

                <div class="cl-bo"></div>
            </div>
        <?php }}} ?>

         <?php if($hot_goods[2]['goods_level']<=$user['level']){ ?>
            <div class="product-list">
               <!-- <div class="product-left">-->
                    <a href="{:U('Goods/goodsInfo',array('id'=>$hot_goods[2]['goods_id']))}">
                    	
                    	<img src="<?php echo $hot_goods[2]['index_img']?>" />
                    </a>
            </div>
        <?php } ?>
         <?php if($hot_goods[1]['goods_level']<=$user['level']){ ?>
            <div class="product-list">
               <!-- <div class="product-left">-->
                    <a href="{:U('Goods/goodsInfo',array('id'=>$hot_goods[1]['goods_id']))}">
                    	
                    	<img src="<?php echo $hot_goods[1]['index_img']?>" />
                    </a>
            </div>
        <?php } ?>

        </div>
        
         <include file="public/footer_nav"/>
        

<!--
        <div class="footer">
            <ul>
                <li class="active">
                    <a href="/Mobile/index">
                        <i class="iconfont">&#xe61e;</i>
                        <p>首页</p>
                    </a>
                </li>

                <li>
                    <a href="/Mobile/user/extended">
                        <i class="iconfont">&#xe629;</i>
                        <p>推广</p>
                    </a>
                </li>

                <li>
                    <a href="/mobile/cart/index">
                        <i class="iconfont">&#xe60a;</i>
                        <p>购物车</p>
                    </a>
                </li>

                <li>
                    <a href="/mobile/User/index">
                        <i class="iconfont">&#xe615;</i>
                        <p>我的</p>
                    </a>
                </li>
            </ul>
        </div>
-->

    </body>
</html>
